﻿using System;
using System.Windows.Forms;
using Controls;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace ControlsTestOpenBox
{
    /// <summary>
    ///This is a test class for openBoxTest and is intended
    ///to contain all openBoxTest Unit Tests
    ///</summary>
    [TestClass()]
    public class openBoxTest
    {
        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes

        //
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //

        #endregion Additional test attributes

        /// <summary>
        ///A test for openBox Constructor
        ///</summary>
        [TestMethod()]
        public void openBoxConstructorTest()
        {
            openBox target = new openBox();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for Dispose
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Elkomp.dll")]
        public void DisposeTest()
        {
            openBox_Accessor target = new openBox_Accessor(); // TODO: Initialize to an appropriate value
            bool disposing = false; // TODO: Initialize to an appropriate value
            target.Dispose(disposing);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for InitializeComponent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Elkomp.dll")]
        public void InitializeComponentTest()
        {
            openBox_Accessor target = new openBox_Accessor(); // TODO: Initialize to an appropriate value
            target.InitializeComponent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for IsTextEmpty
        ///</summary>
        [TestMethod()]
        public void IsTextEmptyTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string txt = string.Empty; // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            actual = target.IsTextEmpty(txt);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for OpenForm
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Elkomp.dll")]
        public void OpenFormTest()
        {
            openBox_Accessor target = new openBox_Accessor(); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.OpenForm(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for txtNum1_KeyUp
        ///</summary>
        [TestMethod()]
        [DeploymentItem("Elkomp.dll")]
        public void txtNum1_KeyUpTest()
        {
            openBox_Accessor target = new openBox_Accessor(); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            KeyEventArgs e = null; // TODO: Initialize to an appropriate value
            target.txtNum1_KeyUp(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for AssemblyStr
        ///</summary>
        [TestMethod()]
        public void AssemblyStrTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.AssemblyStr = expected;
            actual = target.AssemblyStr;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for CaptionText
        ///</summary>
        [TestMethod()]
        public void CaptionTextTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.CaptionText = expected;
            actual = target.CaptionText;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName1
        ///</summary>
        [TestMethod()]
        public void ColumnName1Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName1 = expected;
            actual = target.ColumnName1;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName2
        ///</summary>
        [TestMethod()]
        public void ColumnName2Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName2 = expected;
            actual = target.ColumnName2;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName3
        ///</summary>
        [TestMethod()]
        public void ColumnName3Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName3 = expected;
            actual = target.ColumnName3;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName4
        ///</summary>
        [TestMethod()]
        public void ColumnName4Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName4 = expected;
            actual = target.ColumnName4;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName5
        ///</summary>
        [TestMethod()]
        public void ColumnName5Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName5 = expected;
            actual = target.ColumnName5;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName6
        ///</summary>
        [TestMethod()]
        public void ColumnName6Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName6 = expected;
            actual = target.ColumnName6;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for ColumnName7
        ///</summary>
        [TestMethod()]
        public void ColumnName7Test()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.ColumnName7 = expected;
            actual = target.ColumnName7;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for GridFromForm
        ///</summary>
        [TestMethod()]
        public void GridFromFormTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.GridFromForm = expected;
            actual = target.GridFromForm;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Text
        ///</summary>
        [TestMethod()]
        public void TextTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Text = expected;
            actual = target.Text;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for formToOpen
        ///</summary>
        [TestMethod()]
        public void formToOpenTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.formToOpen = expected;
            actual = target.formToOpen;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for showRedIfEmpty
        ///</summary>
        [TestMethod()]
        public void showRedIfEmptyTest()
        {
            openBox target = new openBox(); // TODO: Initialize to an appropriate value
            bool expected = false; // TODO: Initialize to an appropriate value
            bool actual;
            target.showRedIfEmpty = expected;
            actual = target.showRedIfEmpty;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}